using System;
namespace Microsoft.Data.Edm.Csdl.Internal.CsdlSemantics
{
	/// <summary>
	/// Represents a definition of an EDM association type.
	/// </summary>
	internal interface IEdmAssociation : IEdmNamedElement, IEdmElement
	{
		/// <summary>
		/// Gets the namespace this association belongs to.
		/// </summary>
		string Namespace
		{
			get;
		}
		/// <summary>
		/// Gets the first end of the association.
		/// </summary>
		IEdmAssociationEnd End1
		{
			get;
		}
		/// <summary>
		/// Gets the second end of the association.
		/// </summary>
		IEdmAssociationEnd End2
		{
			get;
		}
		/// <summary>
		/// Gets the referential constraint of the association.
		/// </summary>
		CsdlSemanticsReferentialConstraint ReferentialConstraint
		{
			get;
		}
	}
}